[R] Error Running TinnR with R
stephen's mailinglist account
stephen4mailinglists at googlemail.com
Fri Mar 12 16:09:06 CET 2010
On 12 March 2010 14:27, teck-corp <d.tuerk at maastrichtuniversity.nl> wrote:
>
> Hi Stephen,
>
> Thanks a lot for your answer. Unfortunately this does not work for me
> neither.
> Could you maybe let me know what is written in you RprofileSite-file now?
>
> Best
> Dennis
> --
> View this message in context: http://n4.nabble.com/Error-Running-TinnR-with-R-tp876004p1590576.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
Can't necessarily say I have a 'good' profile
# Things you might want to change
options(papersize="a4")
# options(editor="notepad")
# options(pager="internal")
# set the default help type
# options(help_type="text")
options(help_type="html")
# set a site library
# .Library.site <- file.path(chartr("\\", "/", R.home()), "site-library")
# set a CRAN mirror
# local({r <- getOption("repos")
# r["CRAN"] <- "http://my.local.cran"
# options(repos=r)})
##===============================================================
## Tinn-R: necessary packages and functions
## Tinn-R: >= 2.2.0.2 with TinnR package >= 1.0.3
##===============================================================
## Set the URL of the preferred repository, below some examples:
#options(repos='http://software.rc.fas.harvard.edu/mirrors/R/') # USA
options(repos='http://cran.ma.imperial.ac.uk/') # UK
#options(repos='http://brieger.esalq.usp.br/CRAN/') # Brazil
library(utils)
## Check necessary packages
necessary <- c('TinnR', 'svSocket')
installed <- necessary %in% installed.packages()[, 'Package']
if (length(necessary[!installed]) >=1)
install.packages(necessary[!installed])
## Load packages
library(TinnR)
library(svSocket)
## Uncoment the two lines below if you want Tinn-R to always start R at start-up
## (Observation: check the path of Tinn-R.exe)
#options(IDE='C:/Tinn-R/bin/Tinn-R.exe')
#trStartIDE()
## Set options
options(use.DDE=T)
## Start DDE
trDDEInstall()
.trPaths <- paste(paste(Sys.getenv('APPDATA'), '\\Tinn-R\\tmp\\', sep=''),
c('', 'search.txt', 'objects.txt', 'file.r',
'selection.r', 'block.r', 'lines.r'), sep='')
--
Stephen
More information about the R-help
mailing list