Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am using Crystal Report that comes with VS 2005. I need to Export the Crystal Report To Text File. What's the way to do it.
Looks like they've taken away that enumeration for some reason. I suppose you could loop through the underlying recordset, and dump the contents into a text file yourself. What a PITA though...
I think the closest you will get to a text file is to export as csv.
ExportFormatType.CharacterSeparatedValues
Now, the thing that sucks about this is if the report is designed to look good (with page footers, headers, etc) the csv file will contain all that. So you would need to make a minimal report to get a good csv export. Which really almost makes it seem more logical to dump to text file yourself.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
During the communication with someone under a question I asked, I wanted to send a comment with a screenshot. How to do that?
Here's a cheat for using Stack's image methods for comments: it uses the mechanism used in questions and answers to imgur-ize the image, but we don't want/need the question/answer itself.
But first, a public-service announcement:
Please do not post an image of code/data/errors: it breaks screen-readers, formats really poorly in comments, and it cannot be copied or searched (ref: https://meta.stackoverflow.com/a/285557 and https://xkcd.com/2116/). Please just include the code, console output, or data (e.g., data.frame(...) or the output from dput(head(x))) directly (in the original question).
Okay, now the cheat:
Go into the "Your Answer" (or change to a new tab and ask a "New Question", not to be saved);
Paste the screenshot of note, making sure that the Stack interface recognizes it as an image;
Copy the imgur link (i.e., the https://i.stack.imgur.com/Kvl4I.png in my example) from the text and add to your comment.
... then paste the resulting link in your comment ...
Do not save or submit the question or answer! This is important: please don't "pollute" the answer-space or question-list with a imgurize-my-image-please fake question/answer.
Disclaimer: I have no idea what the expiration policy is for stack imgur; if it expires then the comment loses a bit of meaning. Granted, this happens to questions/answers all of the time with stale/broken links ...
The text box gives you options so here's the screenshot of how you would do it.
If you just paste it in while typing it also works.
Just make a screenshot (with snipping tool or screenpresso) and add it to the textbox.
Example:
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Hello :) Sorry for lame questions, I'm just starting my journey with coding ;)
I wrote some scripts in rmarkdown, using macroeconomic data from World Bank, Eurostat, OECD, etc. Raport is generated to html file, contains a lot of interactive tables made with DT package and sometimes plots with dygraphs. Everythings is working fine, but... the file is too big, it can get even 70 mb and it takes very long to load the tables.
So the question is, is there any possible way to get the data outside the html file and store them in external file/files to lighten the html file? I know that i could do it with shiny, already done it, but i need a standalone file (or more files) without running RStudio in the background.
If I have to learn something outside the R, I can do it, just please give me some ideas or hints. Thank You :)
sounds possible but you will need to know a little javascript & ajax (there are numerous videos about calling standalone data, take it easy). Hope that writing a javascript to call a standalone csv file and embeding the script to your html are going to fix your problem
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Improve this question
I have an image stored on my hard drive and I want to import it into an R-Markdown document I have.
I have 2 copies in both PNG and JPEG format, but for the life of me I cannot figure out how the read functions work in the "png" and "jpg" packages.
Can someone please help?
The easiest way is to use the
![name](path)
format, here name does not matter, is just a name that you want to give to a figure, as an example you can use an internet image such as:
![Phyllogeny of bats](http://currents.plos.org/treeoflife/files/2011/02/figure1final.jpg)
that will translate in your knitted documento to
for an image in the same folder as your working directory you can just put the name of the image:
![myyu](MYYU.png)
if not you have to add the path to the folder that depends on your OS on how to specify it, I recommend you to just put your image in the folder of your working directory. And just one last thing, I usually have less problems with PNG files than JPG for some reason
If you need more help with that just let me know
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have searched google and this site but was unable to find any tutorials on the Rdata format.
Can someone point me to one?
What I would like to know is basically how to use it and what its advantages/disadvantages are.
Can I store any type of data structure in Rdata? Can I save an Rdata file and update it with new entries? etc.
An Rdata file is a binary file, whereas csv files, for example, are text files. Advantages of Rdata format is that it is more compact, faster to read, and can store any type of R data structure. Furthermore, you can store several objects into one Rdata file.
On the other hand, it is a format which is incompatible with other statistical systems or software. So you won't be able to send data in this format to someone who is not using R. Furthermore, it may become incompatible from one R version to another (even if the compatibility is maintained since version 1.4).
You can find more informations in the ?save help page.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Will
How to use flash.filesystem.FileStream ?
FileStream.as file Where?
The class flash.filesystem.FileStream is only available in Adobe AIR. It is not available in Flash Player in the browser. Furthermore, there is no FileStream.as available to read the source code because it is compiled into the runtime and probably written in a lower-level language like C++.
If you want to open a file in Flash Player in the browser, you should use flash.net.FileReference and call the browse() method to display a file dialog. Once the user selects a file, you'll receive Event.SELECT and you can call the load() method to get a ByteArray of data.
If you are targeting Adobe AIR, then the document Reading and writing files should provide you with all the information you need.
This is an AIR only class, so you have to be compiling to the AIR runtime to get it to work.