Showing posts with label IDE. Show all posts
Showing posts with label IDE. Show all posts

2014-11-26

CRAN-R_RefreshPart1

Previously

You read already my first R post, this is a refresher.

Setup

You can find R in CRAN.

Setup Related

You can find related projects in CRAN.

Setup Packages

You can find ReShape2 in GitHub or
install.packages("reshape2")
Reshape2 makes it easy to transform data between wide and long formats. reshape2 is based around two key functions: melt and cast: melt takes wide-format data and melts it into long-format data and cast takes long-format data and casts it into wide-format data.

You can find Dplyr in GitHub or
install.packages("dplyr")
Dplyr is the next iteration of plyr, focussing on only data frames. dplyr is faster and has a more consistent API.

You can find DevTools or
install.packages("devtools")
Devtools makes package development a breeze: it works with R’s existing conventions for code structure, adding efficient tools to support the cycle of package development.

You can find PackRat or
install.packages("packrat") 
A dependency management tool for R to make your R projects more isolated, portable, and reproducible.

You can  find KnitR. Elegant, flexible and fast dynamic report generation that combines R with TeX, Markdown, or HTML.

You can find RMarkdown Website or in GitHub or
install.packages("rmarkdown")
R Markdown lets you insert R code into a markdown document. R then generates a final document that replaces the R code with its results.

You can find Shiny or
install.packages("shiny")
Shiny makes it incredibly easy to build interactive web applications with R.
 
You can find Ggplot2 or
install.packages("ggplot2")
An enhanced data visualization package for R.

You can find GgVis or
install.packages("ggvis")
Is the next iteration of the popular ggplot2 graphics package. ggvis creates dynamic, interactive data visualizations.

You can find RforGoogleAdWord post.

Setup R-(D)COM

You can find R-(D)COM in CRAN. Also the R-(D)COM installer.

Setup RStudio

You can find it in it RStudio Website.

Setup PowerShell

You can find PowerShell R Interop in Codeplex.






2014-04-24

About Xamarin

Xamarin is the best way of doing cross-platform programming.

You need VS2013, you need the professional version.
You need Xamarin.
You need to learn how to share code.
You need the Xamarin Cross Platform Guidelines.
You need the Xamarin.iOS.
You need the Xamarin.Android.

Check the Windows blog on Universal app.

2014-01-08

MVVM for Windows Phone Developers-Continued

Hi,

You may find the next article very interesting on CodeProject

MVVM for Windows Phone Developers

awsomedevsigner: MVVM for Windows Phone Developers - Use it Guys! (...: UPDATE: You can download the code on GitHub. I have added all files, except for the source for SQLight. The repository can be found here: W...

2013-01-08

Portable Library NET

Schema for portable library with multiple targets

What is inportant for multi platform
Feature.NET FrameworkWindows Store AppsSilverlightWindows PhoneXamarin
CoreYYYYY
LINQYYYYY
IQueryableYYY7.5 +Y
SerializationYYYYY
Data Annotations4.0.3 +YY
Y

Try to use it wisely

The following table shows which features are supported on the available platforms and versions. In some cases, Microsoft has added support with the release of a NuGet package, and this has been noted. For more information about NuGet packages for the .NET Framework, see The .NET Framework and Out-of-Band Releases.
Feature
.NET Framework
Windows Store
Windows Phone Store
Windows Phone Silverlight
Silverlight
Xbox 360
4
4.0.3
4.5
8
8.1
8.1
7.5
8
8.1
4
5
Core libraries
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
Async support
➊
➊
✓
✓
✓
✓
➊
➊
✓
➊
➊

Compression


✓
✓
✓
✓

➋
➋



Data annotations

✓
✓
✓
✓




✓
✓

Dynamic keyword
✓
✓
✓
✓
✓




✓
✓

HTTPClient
➌
➌
✓
✓
✓
✓
➌
➌
➌
➌
➌

IQueryable
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

Language-Integrated Query (LINQ)
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

Managed Extensibility Network (MEF)
✓
✓
✓
✓
✓




✓
✓

Network Class Library (NCL)
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

Serialization (data contract, XML, and JSON)
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

System.Numerics
✓
✓
✓
✓
✓




✓
✓

View models (MVVM)


✓
✓
✓
✓
✓
✓
✓
✓
✓

Windows Communication Foundation (WCF)
✓
✓
✓
✓
✓

✓
✓
✓
✓
✓

Windows Runtime APIs




✓
✓






Windows.UI.XAML




✓
✓






XLINQ

✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
➊ Requires Microsoft Async package
➋ Requires Microsoft Compression package
➌ Requires Microsoft HTTP Client Libraries package

2011-11-08

Microsoft SQL Server Migration Assistant

SQL Server Migration Assistant (SSMA)

The SSMA blog annouces the new version 5.3.

MySQL (SSMA for MySQL Client)

The SSMA for MySQL client consists of the program files that perform the following tasks:
  • Connect to a MySQL database.
  • Connect to an instance of SQL Server or SQL Azure.
  • Convert the MySQL database objects to the SQL Server or SQL Azure objects.
  • Load the objects into SQL Server or SQL Azure.
  • Migrate data to SQL Server or SQL Azure.

Prerequisites

SSMA for MySQL is designed to work with MySQL 4.1 or later versions and all editions of SQL Server 2005, SQL Server 2008, SQL Server “Denali” and SQL Azure.
Before you install SSMA, make sure that the computer meets the following requirements:
  • Windows XP SP2 or later versions, or Windows Server 2003 SP1 or later versions.
  • WinZip, or a similar utility, to extract files from a Zip file.
  • Microsoft Windows Installer 3.1 or a later version.
  • The Microsoft .NET Framework version 2.0 or a later version. The .NET Framework version 2.0 is available on the SQL Server product media. You can also obtain it from the .NET Framework Developer Center
  • MySQL ODBC 5.1 Driver and connectivity to the MySQL databases that you want to migrate. You can install the MySQL from the MySQL Web site
  • Connectivity to the instance of SQL Server / SQL Azure where you will be migrating database objects and data
  • In case of SQL Azure projects, Connectivity to the instance of SQL Azure where you will be migrating database objects and data.
  • 1 GB RAM recommended.

Installing SSMA for MySQL Client

SSMA is a Web download. To download the latest version, see the SQL Server Migration Tools product page
After you download the latest version, you must extract the installation files before you can install SSMA.
To install the SSMA client
  1. Extract all files from the SSMA compressed file
    If you are using WinZip, depending on the version that you have, you can either double-click the file, or right-click the file and select Extract All or Open in WinZip. Follow the instructions in the WinZip user interface to extract the files. If you are using another extraction utility, follow the directions for that utility.
  2. Double-click SSMA for MySQL n.Install.exe, where n is the build number.
  3. On the Welcome page, click Next.
    If you do not have the prerequisites installed, a message will appear indicating that you must first install the required components. Make sure that you have installed all the prerequisites before running the installation program again.
  4. Read the End User License Agreement. If you agree, select I accept the terms in the license agreement, and then click Next.
  5. Read the Usage Report Settings page, select or clear the feature reporting box, and then click Next.
  6. On the Choose Setup Type page, click Typical.
  7. Click Install.
Important
  1. SSMA for MySQL v5.1 product can be installed side by side (SxS) with older versions of SSMA Product (versions prior to SSMA for MySQL v5.0. SSMA for MySQL v5.0 has to be uninstalled before installing SSMA for MySQL v5.1).
  2. You can install the SSMA for MySQL v5.1 product successfully even though if there are any earlier versions of product already installed (SSMA for MySQL 2005 v4.2 or earlier/SSMA for MySQL 2008 v4.2 or earlier).
  3. Each of these SxS products can be uninstalled separately and are independent of each other.

The default installation location is C:\Program Files\Microsoft SQL Server Migration Assistant for MySQL.
On 64-bit Windows machine the product is installed in C:\Microsoft SQL Server Migration Assistant for MySQL.

Licensing SSMA

To use SSMA, you must download a registration key. To help you with the registration process, a License Key Required dialog box opens the first time that you start the SSMA program. Use the following instructions to download a license key and associate the key with SSMA.
To license SSMA
  1. Click Start, point to All Programs, point to Microsoft SQL Server Migration Assistant for MySQL, and then select Microsoft SQL Server Migration Assistant for MySQL.
  2. In the License Management dialog box, click the license registration page link.
  3. On the Sign In Web page, enter your Windows Live ID user name and password, and click Sign In.
    A Windows Live ID is a Hotmail e-mail address, MSN e-mail address, or Microsoft Passport account. If you do not have one of these accounts, you will have to create a new account. To create a new account, click the Sign up now button.
  4. On the SQL Server Migration Assistant for MySQL License Registration Web page, fill in at least the required fields, which are marked with a red asterisk, and then click Finish.
  5. In the File Download dialog box, click Save.
  6. In the Save As dialog box, locate the folder that is shown in the License Management dialog box, and then click Save.
    The default location is C:\Documents and Settings\user name\Application Data\Microsoft SQL Server Migration Assistant\MySQL.
  7. In the License Management dialog box, click Refresh License.

      2011-08-04

      MS Visual Studio

      Installation

      Install any version including the Express Edition.

      Service Pack

      Install the SP1.

      WebInstaller

      Install the WebInstaller platform.

      DirectX

      Check their web site.
      Install the runtime.
      Install the SDK.
      Install the Windows SDK.
      Install the Code Metrics.
      Install the Windows SDK for Windows 7 and .NET Framework 4 Version 7.1.
      Install FxCop 10.0 executing %Program Files%\Microsoft SDKs\Windows\v7.1\Bin\FXCop\FxCopSetup.exe

      Windows Phone 7

      Check their site.
      Install the Windows Phone SDK 7.1 beta 2.
      Install the Windows Phone Developer Tools 7.
      Install the Windows Phone Developer Tools 7 update.
      Install the Windows Phone Developer Tools 7 fix.
      Install the Windows Phone Developer Tools 7 XNA Game Studio 4.0.

      Windows Azure Toolkit for Windows Phone 7

      Check their site.
      Install the Silverlight Toolkit.
      Install the Windows Identity Foundation Runtime.
      Install the Visual Basic for Windows Phone Developer Tool RTW.

      Kinect

      Check their site.
      Read the README file.
      Install the Kinect for Windows SDK.
      Install the Kinect for Windows Developer Toolkit.
      Install the Kinect for Windows Runtime.
      Install the MS XNA Framework Redistributable 4.0.
      Install the Kinect for Windows Language pack.
      ------
      Install the Windows Speech Platform Runtime 10.2.
      Install the Windows Speech Platform SDK 10.2.
      Install the Kinect for Windows Language Pack 0.9.
      Install the Kinect Services for Robotics Developer Studio 2008 R3.
      Download the Kinect Programming Guide.

      Expression Blend

      Check their site.

      Mathematics

      Check their site.

      Robotics

      Check their site.

      Column limit

      Visual Studio 2010 and 2012
      1. Install Paul Harrington's Editor Guidelines extension for VS 2010 or VS 2012.
      2. Open the registry at:
        VS 2008: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Text Editor  VS 2010: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Text Editor
        VS 2012: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\Text Editor
        VS 2013: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\Text Editor
        and add a new string called Guides with the value RGB(100,100,100), 100. The first part specifies the color, while the other one (80) is the column the line will be displayed.



      2010-04-02

      About MBF

      Microsoft Biology Initiative

      It is another intent to break into open source and free software in the scientific community but the community does not like it, you can follow their site.

      Microsoft Biology Foundation Training

      You can follow the installation requisites in their site.

      Download and install the MBF.
      Download and install the ShoRuntime.
      Download and install the source code.

      Microsoft Research Sho Library

      Please refer to their site.
      Please refer to the documentation.
      Please refer to the API Reference.
      Please refer to the Package Reference.
      Please refer to the External API Guide.

      Microsoft Biology Tools

      Download and install the NodeXL.
      Download and install the Sequence Assembler.
      Download and install the BL!P (MS Silverlight PivotViewer needed).

      Microsoft Research Biology Extension for Excel

      Please refer to their site.

      Microsoft Computational Biology Tools

      Download and install the PhyloD, Epitope Prediction, HLA Completion & Assignement, Create Epitope and False Discovery Rate for 2x2 contingency tables.

      Microsoft Biological Computation Tools

      Download and install the Synthesizing Biological Theories: site, manual and package.

      Microsoft Researcher Tools

      Download and install the GenePattern Add-in for Word.
      Download and install the Ontology Add-in for Word: site and Codeplex.
      Download and install the Chemistry Add-in for Word: site, font DLL and Codeplex.
      Download and install the Infer.NET machine learning library: site, package, follow the UserGuide, try the first tutorial, all the tutorials and examples, the API and the references.
      Download and install the SIGMA Large Scale Machine Learning Toolkit: package.
      Download and install the 3D Molecule Viewer.
      Download and install the QUT.Bio: site.
      Download and install the RNA Comparative Analysis Software Tool.
      Download and install the Athena Modular CAD/CAM Software for Synthenic Biology.
      Download and install the Project Trident from Codeplex.
      Download and install the WinBioinfTools.

      2009-10-01

      Setting up Aptana

      Installing Aptana on UNIX, Linux and OSX
      Download AptanaStudio.
      Follow the steps to complete plugin installation when you run it.
      &] sudo cp ~/Downloads/Aptana_Studio_Setup_Linux_x86_1.5.1.zip /Applications/ ; cd /Applications/
      &] sudo unzip Aptana_Studio_Setup_Linux_x86_1.5.1.zip
      &] sudo ln -s Aptana\ Studio\ 1.5 AptanaStudio
      &] sudo chmod -R +x AptanaStudio
      &] sudo chown -R root:enrique Aptana*

      Installing Aptana on Windows
      Download AptanaStudio.
      Follow the steps to complete plugin installation when you run it.

      2009-09-09

      Installing R from CRAN, Bioconductor and Related Interfaces

      Use the following link to fetch the last stable version from CRAN .

      R for All
      Choose the last universal tar.gz file.

      R for Windows
      Choose the last installable file.
      We can use R in the CommandPrompt if we add Path=Path;%R_PATH%

      RDCOMServer: Look for other software and install R(D)COM Interface as DCOMServer usig R\DCOMServer and the variable RDCOM_PATH=D:\GNU\R\DCOMServer\bin. But you need rscproxyand rcom installed on R.
      RExcel: Look for this link.

      R for MacOS X
      Choose the last dmg file.

      R for Ubuntu
      Choose the last binary file in /bin/linux/ubuntu or
      &] sudo apt-get -y install r-*

      R for fedora
      Choose the last rpm file in /bin/linux/redhat/fedora1*/{i386,x86_64,src) or
      &] sudo yum -y install R-*

      RStudio (R multiform IDE)
      Choose the last version of R to install in your machine (multiple version are allowed) and install IDE from their site.

      GGobi for R

      iPlots for R

      iPlots eXtreme for R

      ReShape for R

      Plyr for R

      R-commander from R
      Read the documentation.
      You can choose your packages to install from repository or to do it directly from R CMD
      &] sudo R
      &] install.packages("Rcmdr", dependencies=TRUE)
      ] install.packages(c("car","MASS","nnet","XLConnect"))

      Bioconductor from R
      Read the documentation.
      You can choose your packages to install from repository or to do it directly from R CMD
      &] sudo R
      > source("http://bioconductor.org/biocLite.R") ; biocLite()
      > source("http://bioconductor.org/getBioC.R") ; getBioC()

      R Environment Variable
      Windows:
      R_HOME=D:\GNU\R\R-2.10.1
      Ubuntu:
      R_HOME=/usr/lib/R
      OSX:
      R_HOME=/Library/Frameworks/R.framework/Resources
      At the end:
      RHOME=$R_HOME
      R_PATH=$R_HOME/bin
      R_PATH=D:\GNU\R\R-2.10.1\bin
      R_LIBS=$R_HOME/library

      Windows R(D)COM interface for R using CSharp
      Read the documentation.

      RPy interface for R
      Read the documentation.
      &] sudo yum install rpy.i686 #in fedora
      The steps are:
      1. Check that you have built R with the configure option '--enable-R-shlib' to make R as a shared library
      2. &]cd $R_HOME
      3. &]make distclean
      4. &]./configure --enable-R-shlib
      5. &]make
      6. &] make install 
      The 2 following steps are optional:
      1. make a link to RHOME/bin/libR.so in /usr/local/lib or /usr/lib, then run 'ldconfig'
      2. or put the following line in your .bashrc (or equivalent) &] export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:RHOME/bin
      3. or edit the file /etc/ld.so.conf and add the following line RHOME/bin, then run 'ldconfig'.
      4. &] python setup.py install

      RPy2 interface for R
      Read the documentation.
      The steps are:
      1. &] easy_install rpy2
      2. &] tar -zxf rpy2_package.tar.gz
      3. &] cd rpy2_package
      4. &] python setup.py install
      Test:
      import rpy2.tests
      import unittest
      
      # the verbosity level can be increased if needed
      tr = unittest.TextTestRunner(verbosity = 1)
      suite = rpy2.tests.suite()
      tr.run(suite)
      

      RSPython interface for R
      Read the documentation.
      The steps:
      1. &] sudo cp ~/Downloads/RSPython_0.7-1.tar.gz /opt ; cd /opt
      2. &] sudo chmod -R +x RS*
      3. &] sudo R CMD INSTALL -c RSPython_0.7-1.tar.gz

      RSPerl interface for R
      The steps:
      1. &] sudo cp ~/Downloads/RSPerl_0.92-1.tar.gz /opt ; cd /opt
      2. &] sudo chmod -R +x RS*
      3. &] sudo R CMD INSTALL -c -l --configure-args='--with-in-perl' RSPerl_0.92-1.tar.gz # -l is option for PERL5LIB
      Rserve interface for R
      You can try another mirror to fetch the file.
      Read the documentation.
      In R, sudo R
      > install.packages(Rserve)

      RRuby interface for R
      You can try another mirror to fetch the file.
      Read the documentation.
      &] sudo gen install rinruby

      RinRuby interface for R
      You can try another mirror to fetch the file.
      Read the documentation.

      RSRuby interface for R
      You can try another mirror to fetch the file.
      Read the documentation.

      First option:
      1. &] sudo cp ~/Downloads/rsruby*{gem,tgz} /opt ; cd /opt
      2. &] sudo chmod -R +x rs*
      3. &] sudo gem install rsruby-0.5.1.1.gem --with-R-dir=$R_HOME
      Second option:
      1. &] sudo tar -zxf rsruby-0.5.tgz
      2. &] sudo chmod -R +x rs*
      3. &] cd rsruby
      4. &] ruby setup.rb config -- --with-R-dir=$R_HOME
      5. &] ruby setup.rb setup
      6. &] ruby setup.rb test
      7. &] sudo ruby setup.rb install
      This is a new Ruby interface for R/S found at RubyForge .
      Note that you’ll need to set the R_HOME and RHOME environment variable prior to installation.
      On MacOX, RHOME=R_HOME=/Library/Frameworks/R.framework/Resources.
      On Ubuntu, when installed from source, RHOME=R_HOME=/usr/local/lib/R. It is useful to just drop this into /etc/environment so that this variable is set upon login.
      Otherwise update /etc/bash_profile .

      &] export R_HOME=/path/to/R/for/your/OS
      &] export RHOME=/path/to/R/for/your/OS
      &] sudo gem install rsruby -- --with-R-dir=$R_HOME
      On Ubuntu
      &] sudo gem install rsruby -- --with-R-home=/usr/lib/R --with-R-include=/usr/share/R/include
      
      You may try to install it from source. Compile and install the Ruby library using setup.rb as shown. You need to supply
      the location of your R installation for the libR shared library. This will usually be
      the same as R_HOME.
      
      &] cd rsruby
      &] ruby setup.rb config -- --with-R-dir=/usr/lib/R
      &] ruby setup.rb setup
      &] sudo ruby setup.rb install
      
      You may test it
      &] ruby setup.rb test
      
      
      &] irb -rrsruby
      >> @R = RSRuby.instance
      >> @R.wilcox_test([1,2,3],[4,5,6])
      >> foo = @R.as_data_frame(1)
      
      
      
      

      HTMLCode

      HTMLCode Content