| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Astuces R

Page history last edited by Maya 7 years, 3 months ago

ACCUEIL / HOME

 


 

 

MEMORY SIZE (Windows)

 

Quitter en sauvant le workspace

dupliquer le raccourci: dans Propriété/cible/... Rgui.exe --vsize=50000000 --nsize=5000000

Attention à réouvrir le workspace avec les mêmes options

 

 

 

PROXY

 

Sur windows:

run R  with option --internet2 (changer dans propriétés du raccourci)

Add the proxy in R/etc/Rcmd_environ (pas toujours besoin)

 

Sur MAC:

1. On the hard disk go to the folder '/Library/Frameworks/R.framework/Versions/2.13/Resources/etc/' (or: 'DD/Bibliotheque/Framework/R.Framework/ressources/R/etc/')

2. Open in i386 and/or x86_64 the file 'Renviron'.

3. Add a line with the proxy information to the file: 'http_proxy="PROXY:port"', for example for LECA: 'http_proxy="http://www-cache:3128"' and save.

 

 

Installer rgdal sur Mac OS

 

http://www.kyngchaos.com/software/frameworks

 

télécharger GDAL complete et le rgdal R package correspondant.

 

 

 

Script AppleSript to send a command to R from TextWrangler (MAC)

 

--
-- This script can be used to make TextWrangler execute commands in R.
-- It executes the current selection. If no text is selected it executes the current line.
-- Jean Thioulouse - Nov. 2008 - Jean.Thioulouse_at_univ-lyon1.fr
--
tell application "TextWrangler"
    set the_selection to (selection of front window as string)
    if (the_selection) is "" then
        set the_selection to line (get startLine of selection) of front window as string
    end if
end tell
tell application "R"
    cmd the_selection
end tell

 

 

 

APE

 

A common error  (source of the solution http://ape.mpl.ird.fr/ape_faq.html#phylomatic)

 

It is common that trees from phylomatic have two root edges, e.g.:

((................... )seedplant:1.000000)euphyllophyte:1.000000;

Trees in ape cannot handle this kind of tree. A solution is to fuse (by hand) the two root edges in the Newick string:

(................... )euphyllophyte:2.000000;

 

Phylomatic v3: trees produced by this Phylomatic version (the newest) give error when trying to be loaded in R with ape. This error does not occur if we click the option "clean" in Phylomatic.

 

 


 

 

ACCUEIL / HOME

 

 

Comments (0)

You don't have permission to comment on this page.