Displaying 20 results from an estimated 8000 matches similar to: "Invalid input in 'utf8towcs' when saving script file"
2005 Dec 02
2
Seven month time-series sampled at hourly intervals
I have data from several sensors that recorded data at hourly intervals
during seven months. I want to separate daily variation from the trend,
and also be able to zoom in on only one month of data.
I have not been able what functions to use, I can not figure out from
the help for 'ts' how to use hourly data.
I guess this is routine-work for a lot of people so I hope someone can
2005 Jul 26
5
Plot zooming i.e. changing ylim according to xlim
Dear R-gurus,
I would like to zoom in a plot, e.g. I select a region on the x-axis and
then I would like the ranges on the y-axis to change accordingly.
Is it possible to do this with existing functions, or do I have to
invent some data selection before plotting?
See below a short example, where I select ylim with trial and error,
which I want to avoid.
Cheers, Henrik Andersson
2004 Mar 02
1
R programming
I have been using R for a few months to plot my data, and fit
statistical models and so on.
It is stated that R is not only a package for statistcs and graphics but
also a programming language.
Currently I am working with Fortran 90 to do numerical simulations (1D
reactive -transport), and subsequently visualize it in some external
software (spreadsheet). As I now started using R I will plot my
2004 May 18
7
Isotopic notation in plots
I really like to use R for all my graphs, and as I work with stable
isotopes I want to have a proper chemical notation in my plots
I have looked at ?plotmath, but didn't find the answer and also searched
the R website.
------------------------------------------------------------------------
--
plot(1:10,xlab=expression(^{14}*C)) # I want to have a superscript with
nothing in front, but it
2004 Nov 23
2
Create a vector of combinations based on a table column names
I want to create a character vector based on the table (shortened for
display) below:
Where there are ones in the matrix I want the column name to appear and
where there are zeros nothing, which would make the vector in this
shortened case:
combinations <- ("A B","A C","A E H","A F G","B C D","E G H",A C D E
H","A C D F
2004 Feb 23
1
Reference to use of MLR in industry and biology
I apologize in advance for posting a question not related to R.
I need references to papers that use multiple linear regression in an industrial application and also in a biological experiment.
This is aimed to biologists/chemists (non-statisticans) so if anyone has written a brilliant paper where the use of multiple regression is important and also understandable to people with little
2005 Dec 22
1
strsplit with dataframes
Hello fellow R people,
I can not figure out a pretty way to use strplit with vectors
Imagine that I got the following data from someone with ID's
representing several factors
ID data
A1-B1-t1 0
A1-B1-t2 1
A1-B2-t1 5
A1-B2-t2 10
A1-B10-t1 0
A1-B10-t2 1
A1-B20-t1 5
A1-B20-t2 10
...
I would like to turn this dataframe to
station substation time data
A1 B1 t1 0
A1 B1 t2 1
A1 B2 t1 5
2004 Dec 06
4
Modyfing PATH in Windows Installer for R
Just a small suggestion since Windows have a file system not designed
for command line use...
Would it be possible to add the possibility of automatically
adding/modifying the path to the R executables in the windows installer
program?
---------------------------------------------
Henrik Andersson
Netherlands Institute of Ecology -
Centre for Estuarine and Marine Ecology
P.O. Box 140
4400 AC
2011 May 21
1
DocumentTermMatrix error
Hi all,
I have tried to create a DocumentTermMatrix with a tm package, but i get this error :
Error in tolower(txt) :
invalid input 'PROD Z LAHKO GNETNO MELJNO GLINO, ... in 'utf8towcs'
I tried doing this as it is showed in :
http://www.r-project.org/doc/Rnews/Rnews_2008-2.pdf (An Introduction to Text Mining),
with this R code :
2010 Dec 05
2
Centos 5.5 upgrade to dovecot 1.2
Hello,
I am trying to upgrade dovecot from 1.0.7 (the dovecot verison in base repo)
to 1.2.
The installation of .rpm got from atrpms.net aborted with a dependency error
:
error: Failed dependencies:
libpq.so.5()(64bit) is needed by dovecot-1.2.16-1_114.el5.x86_64
This is strange because the libraries are there :
yum list libpq*
Installed Packages
libpqxx.x86_64 2.6.9-3.el5.rf installed
2002 Feb 24
1
SV: SV: Problem regarding installation
OK! I'm sorry about this. As I wrote earlier I'm totally lost... but I will
try to
explain the problem in steps bellow, ok.
1. I installed the rpm's for samba, Version 2.0.2a-ssl I think this is the
version
distributed with redhat linux 7.0
2. Then I changed the parameters in the /etc/samba/smb.conf file,
and in this file I added the folowing parameters.
[global]
netbios name
2002 Feb 22
1
SV: Problem regarding installation
The diagnostis.txt file don't seem to solve this problem.
Now my samba server is now available for browsing, I dont know how I should
solve this actually I'm totally lost I even tried to erase the rpm file and
compiled a source file.
Mvh / Best regards
Daniel Andersson
------------------------------------------------------------
REJLERS INGENJ?RER AB
R?dhusgatan 15, S-541 30 SK?VDE,
2004 Oct 25
2
Reading sections of data files based on pattern matching
I am about to write general functions to read the output of simulations
models.
These model generate output files with different sections which I want
to analyze plot etc.
Since this will be used many people at the department I wanted to make
sure that will do this in the best way.
For instance I want to read a snippets of data from a text that look
like this.
2004 Oct 07
1
confidence interval for nls
Do I have the right impression that it's currently not possible to
produce confidence intervals for the nls predictions using R?
I had a course were we used SAS PROC nlin and there you could get
intervals for the parameters and the prediction but I do not have access
to SAS.
Would it be difficult to implement, I tried to dig into the help pages
of nls, vcov and nlsModel but I could not
2005 Feb 04
1
Output from function to a tcltk window
I would like to display output to a tcltk window from e.g. a call to
summary().
I tried to get something else than oneliners into a text window of the
kind found at:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/TextWindows.html
But without success.
Henrik
-------------------------------------------------------------
Henrik Andersson
Netherlands Institute of Ecology -
Centre for
2005 Sep 19
1
Change in behavior of compare statement
Dear all,
I have come across some Windows Script code which calls the
"file.exists" function in R to check for the existence of a particular
file on an R server. This is what the code looks like:
do
{
// some useful code
}
while (m_workspace.session.eval("file.exists(" + dataFile +
2012 May 31
1
possible bug in "R Editor"
Dear all,
I clicked "File-New Script" to open a R Editor, typed some commands in
it and then saved it to a file. If the location where I tried to save
the script contained Chinese Character, R Editor complained,
Error: invalid input 'E:\Some.Chinese.Characters\new_file.R' in 'utf8towcs'
> sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: i386-pc-mingw32/i386
2011 Feb 10
2
Calculating rowMeans from different columns in each row?
Hello!
I have a dataset like this:
X1 X2 X3 X4 X5 X6 X7 X8
1 2 2 1 2 3 2 6
2 3 2 5 7 9 1 3
1 9 12 6 1 1 3 6
The columns X1-X6 contains ordinary numeric values.
X7 contains the number of the first column that the rowMeans should be calculated from and
X8 contains the last column
2008 May 01
1
Locale problem with umlauts in factor levels in 2.7.0 (patched) from grid or lattice
With 2.7.0 patched (not tested with 2.0.0), I get an error message in a
program that ran correctly in R 2.6.2 when the grouping factor of a
stripplot contains an Umlaut:
I am aware that there are a few locale-changes in R 2.7.0, but I could not
easily
locate who's at fault
Dieter
library(lattice)
dt = data.frame(x=rnorm(100),y=1:100,levs= as.factor(c("Gru","Gr?")))
2018 Apr 19
4
[PATCH] virtio_ring: switch to dma_XX barriers for rpmsg
virtio is using barriers to order memory accesses, thus
dma_wmb/rmb is a good match.
Build-tested on x86: Before
[mst at tuck linux]$ size drivers/virtio/virtio_ring.o
text data bss dec hex filename
11392 820 0 12212 2fb4 drivers/virtio/virtio_ring.o
After
mst at tuck linux]$ size drivers/virtio/virtio_ring.o
text data bss dec hex filename