Displaying 20 results from an estimated 10000 matches similar to: "calling a C program from R"
2008 Sep 18
3
character position
Hi,
I'm not being able to capture a position of a 'string' in a character
string.
In this example: 'There are 20 species in this grid'
I would like to capture the string (number) after 'are' and before
'species'. Consider they do not change. I wouldn't like to use substr
because stop position may change.
Thanks
Paulo
2009 Mar 27
3
color vectors other than gray()
I'm trying to create a graph where different cells of a grid (a shapefile)
will be painted with a color share scale, where the most easy way is to use
gray().
Can I somehow get a vector (gradient) of colors, a vector of colors with
other methods but gray()?
I'm doing this until now
quad_N_sp <-
2008 Jul 30
1
read XML
I have a xml exported by Manifold GIS but I'm not being able to import it
into R using XLM package.
The file have this structure:
<?xml version="1.0" encoding="UTF-8" ?>
- <layout>
<name>Layout 2</name>
<pagesByX>1</pagesByX>
<pagesByY>1</pagesByY>
- <elements>
<legend
2008 May 24
1
Spatial Overlay - SQL - Geoprocessing
Can we by any change perform in R something similar geoprocessing or, more
advanced, Spatial SQL over vectorial data?
Paulo
[[alternative HTML version deleted]]
2009 Jul 08
1
system() how to make a program run a specific file
I'd like to know how to call a program to run or open a specific file.
something like this:
system('"C:\\Program Files (x86)\\IrfanView\\i_view32.exe"','-A:\\
teste.jpg') is not working.
any help will be appreciated
____________
Paulo E. Cardoso
[[alternative HTML version deleted]]
2010 May 04
1
Glusterfs and Xen - mount option
Hi,
I've installed Gluster Storage Platform on two servers (mirror) and mounted
the volume on a client.
I had to mount it using "mount -t glusterfs
<MANAGEMENT_SERVER>:<VOLUMENAME-ON-WEBGUI>-tcp <MOUNTPOINT>" because I
didn't had a vol file and couldn't generate one with volgen because we don't
have shell access to the gluster server right?
How can
2008 Sep 25
1
grid.newpage()
Hi,
I'm trying to customize a window with 2 graphs.
I'm able to do the first one with something like this general example
par(mfrow=c(1,2),cex.axis=0.85,cex.lab=0.80,mai=c(1.3,1,0.5,0),las=3)
bplot<-barplot(bar.values,names.arg=cf.names,width=0.5,ylab="% Area held")
abline(h=0.3,lty=3,col="red")
abline(h=0.1,lty=3,col="blue")
2009 Mar 27
2
print table (data.frame) to pdf
How can I print a data.frame to a PDF with pdf()...dev.off()
____________
Paulo E. Cardoso
[[alternative HTML version deleted]]
2014 Nov 25
1
Test
Sds,
Paulo Henrique Cardoso
Administrador de Redes - T.I.
NHS Sistemas Eletr?nicos Ltda
Av. Juscelino Kubitschek de Oliveira, 5270
Cidade Industrial, Curitiba - PR
Fone/Fax: (41) 2141-9246/9247
www.nhs.com.br
IMPORTANTE:
Esta mensagem, incluindo quaisquer anexos, ? endere?ada exclusivamente ao seu destinat?rio e poder? conter informa??es confidenciais. A revis?o, distribui??o,
2009 Jul 10
2
while( ) to get a vector until the sum of elements are <= X ?
I have a vector of values
X = seq(1:10)
I want to get another vector V of with sample (with replacement) of X but
with a constrain: V will have as much elements as those necessary to V sum
exactly 10.
If the N-th value of V make the sum greater than 10, it's is subtracted with
the difference to achieve the constrain.
I don't know how to achieve this. with a while?
2009 Aug 04
1
asc class object - how to get positions (coordinates) for a given raster ID?
In a raster asc object, I'd like to take the positions (x and y coordinates)
for a given "pixel" ID. Any idea about how to do this?
_______________
Paulo E. Cardoso
[[alternative HTML version deleted]]
2009 Jul 15
1
Quotes - useFancyQuotes
I need to get the exact sentence, with the quotes:
OPTIONS COORDSYS("Surface1" AS COMPONENT);
but this:
options(useFancyQuotes = F)
paste("OPTIONS COORDSYS(", dQuote("Surface 1"), "AS COMPONENT);" )
give me this:
[1] "OPTIONS COORDSYS( \"Surface 1\" AS COMPONENT);"
And it's not readable as SpatialSQL code by
2009 Aug 02
1
Alternatives to rbind()
I'm not sure if there are better methods to create objects such as
dataframes with other than rbind function.
II usually combine a data.frames created at each loop with a rbind(),
specially when I don't know the dimension of the data.frame that will be
created.
Binding the new to an existing data.frame seems to be the easiest way to
build an object that assemble data in a loop.
2020 Nov 17
1
RFC: Multiple program address spaces
Fixing llvm-dev at llvm.org to llvm-dev at lists.llvm.org
On Tue, Nov 17, 2020 at 11:27 AM Thomas Lively <tlively at google.com> wrote:
> Thanks for your work on this, Paulo!
>
> Here's some more detail about how function pointers work today in the
> WebAssembly backend and how they differ from the `funcref` Paulo is
> working on.
>
> Today in the WebAssembly
2009 Jun 30
1
Skip loop combination when one factor's level is missing
Hi,
In a symmetric design one may have a data.frame with, say, two factors (two
columns), each one with n levels.
In a nested loop, to run a expression combining levels of each factors, to
produce a new data.frame, if one level is absent, the loop is interrupted;
one gets a empty object.
Is there a way to avoid or skip combinations of factors in such nested
loops?
I think that
2018 Jul 02
4
Parametrized Vignettest in R packages
Hello,
I have a package which includes some parameterized r-markdown report
which I would also like to build as package vignettes.
Is there a way to run the parameterized vignette creation with the
package build or package check?
Thank you
--
Witold Eryk Wolski
2008 Sep 24
0
hexbin object to vector (shapefile)
Is it possible to convert an hexbin object like
hexbin(rep(1:100,each=100),rep(1:100,100),xbins=10)
and convert it to a vectorial (shp) format?
Paulo
----------------------------------------------------------------------------
-------------------------------------------------
This electronic mail transmission including any attachment hereof, contains
information that is private and confidential,
2008 Sep 04
1
how to match or merge data.frames in this case...
Hi,
I'm trying to match two data frames in order to replace the boundary values
in a dataframe.1 with values in dataframe.2 ONLY where the pair id1 id2
matches between the two data frames.
Eg.
> dataframe.1
... id1 id2 boundary
3307 1095 1108 438.691
3308 1095 1109 438.691
3309 1095 1121 438.691
3310 1096 1109 438.691
...
3345 1108 1120 438.691
3346 1108 1121 438.691
3347 1108
2016 Jan 18
1
[PATCH] xfs: Add support for v3 directories
On Mon, January 18, 2016 10:51 am, Gene Cumm wrote:
> On Mon, Dec 14, 2015 at 7:54 PM, Paulo Alcantara <pcacjr at gmail.com> wrote:
>> Besides supporting newer version of xfs file system, this patch also
>> does some code refactoring and fix completely broken listing and
>> searching on v2-3 node directories.
>>
>> Cc: Gene Cumm <gene.cumm at gmail.com>
2015 Nov 11
1
[PATCH] mtools: Remove local xpread/xpwrite, use ones from syslxcom
2015-11-10 23:18 UTC+01:00, Paulo Alcantara via Syslinux <syslinux at zytor.com>:
> On Tue, 10 Nov 2015 14:51:04 +0100
> Nicolas Cornu via Syslinux <syslinux at zytor.com> wrote:
>
>> From: Nicolas Cornu <ncornu at aldebaran.com>
>>
>> ---
>> mtools/Makefile | 1 +
>> mtools/syslinux.c | 59
>>